package com.learn.injection;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

/**
 * @author Created by chenxin34 on 2021/7/8 下午9:56.
 */
@ContextConfiguration(locations = {
        "classpath:applicationContext.xml",
})
@RunWith(SpringJUnit4ClassRunner.class)
public class IocOrderTest {
    @Autowired
    private AA aa;
//    @Autowired
//    private BB bb;

    @Test
    public void t() {
        System.out.println(aa);
    }

    public static void main(String[] args) {
        System.out.println("AAA");
    }
}
